package service

import (
	"github.com/starmotioncf/common/restriction"

	"github.com/gin-gonic/gin"
)

type RestrictionService interface {
	MaskChinaUser(ctx *gin.Context) bool

	// GetRestrictions 获取当前请求的限制信息
	GetRestrictions(ctx *gin.Context) *restriction.Restrictions
}
